home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / TEX-UTIL / DVIVIEW / TEXFONTS5 / !TeXFonts / NotRISCOS / tset / mf
Text File  |  1988-02-26  |  3KB  |  89 lines

  1. % This is TSET.MF in text format, as of Mar 31, 1986.
  2. % Special characters for ``extended ASCII character set'' fonts
  3.  
  4. % Two accents have been copied from {\tt accent.mf}
  5. % and there's also a (genuinely) blank space.
  6.  
  7. % Codes \0040, \0136, and \0176 are generated, in addition to the following:
  8. cdot=oct"000";
  9. down_arrow=oct"001";
  10. meet=oct"004";
  11. false_that=oct"005";
  12. elt=oct"006";
  13. up_arrow=oct"013";
  14. plus_minus=oct"014";
  15. o_plus=oct"015";
  16. infty=oct"016";
  17. subset=oct"020";
  18. superset=oct"021";
  19. cap=oct"022";
  20. cup=oct"023";
  21. for_all=oct"024";
  22. there_exists=oct"025";
  23. o_times=oct"026";
  24. double_arrow=oct"027";
  25. left_arrow=oct"030";
  26. right_arrow=oct"031";
  27. neq=oct"032";
  28. diamond=oct"033";
  29. leq=oct"034";
  30. geq=oct"035";
  31. eqv=oct"036";
  32. join=oct"037";
  33. straight_quotes=oct"042";
  34. minus=oct"055";
  35. less=oct"074";
  36. greater=oct"076";
  37. backslash=oct"134";
  38. underbar=oct"137";
  39. left_brace=oct"173";
  40. vertical=oct"174";
  41. right_brace=oct"175";
  42. integral=oct"177";
  43.  
  44. input sym;
  45.  
  46. cmchar "Blank space";
  47. beginchar(oct"040",6u#,0,0);
  48. adjust_fit(0,0); endchar;
  49.  
  50. cmchar "Circumflex (hat) accent";
  51. beginchar(oct"136",9u#,min(asc_height#,2x_height#),0);
  52. if serifs: italcorr .5[x_height#,h#]*slant+.5hair#-1.75u#;
  53.  adjust_fit(0,0);
  54.  pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w;
  55.  x1=w-x3=good.x 2.25u; y1=y3=.5[x_height,y2];
  56.  pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90);
  57.  filldraw stroke z1e--z2e--z3e;  % diagonals
  58. else: italcorr 2/3[x_height#,h#]*slant-.5stem#+.5vair#-.75u#;
  59.  adjust_fit(0,0);
  60.  pickup fine.nib; pos1(vair,0); pos3(vair,0); x1=w-x3;
  61.  pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps;
  62.  lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent
  63.  z0=whatever[z1r,z2r]=whatever[z2l,z3l];
  64.  y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=w-x4l;
  65.  filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi  % diagonals
  66. penlabels(0,1,2,3,4); endchar;
  67.  
  68. cmchar "Tilde (squiggle) accent";
  69. beginchar(oct"176",9u#,min(asc_height#,10/7x_height#+.5dot_size#),0);
  70. italcorr h#*slant-u#;
  71. adjust_fit(0,0);
  72. if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-x_height));
  73.  pickup crisp.nib; numeric mid_width; mid_width=.4[vair,stem];
  74.  pos1(vair,theta+90); pos2(vair,theta+90);
  75.  pos3(vair,theta+90); pos4(vair,theta+90);
  76.  z2-z1=z4-z3=(mid_width-crisp)*dir theta;
  77.  lft x1r=w-rt x4l=hround 1.5u; top y4r=h;
  78.  bot y1l=vround(bot y1l+min(2/3[x_height,h],y3l-.25vair)-top y1r);
  79.  pair delta; ypart delta=3(y3l-y1l); delta=whatever*dir theta;
  80.  filldraw z1l..controls(z1l+delta)and(z3l-delta)..z3l..z4l
  81.   --z4r..controls(z4r-delta)and(z2r+delta)..z2r..z1r--cycle;  % stroke
  82. else: pickup fine.nib; pos1(vair,180); pos2(vair,90);
  83.  pos3(.5[vair,slab],90); pos4(vair,90); pos5(vair,180);
  84.  lft x1r=w-rt x5l=hround 1.5u; x2-x1=x3-x2=x4-x3=x5-x4;
  85.  bot y1=bot y4l=vround(.75[x_height,h]-vair);
  86.  top y2r=top y5=h; y3=.5[y2,y4];
  87.  filldraw stroke z1e{up}...z2e{right}..z3e..{right}z4e...{up}z5e; fi % stroke
  88. penlabels(1,2,3,4,5); endchar;
  89.